Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to .R file chunks: #1455

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

kylebutts
Copy link
Contributor

Made a few changes to better support .R file chunks. Mainly, this has to do with chunk highlighting. It doesn't really make sense to highlight the background of code cells for .R scripts, since it just highlights the whole thing. I copied python in highlighting the active cell (see below). I also added a "Run Current Chunk and Move to Next Chunk" command.

The code in the main file was getting quite long, so I moved to a separate folder if that's okay? Otherwise, I can put it back how it was.

CleanShot 2023-11-26 at 16 52 36@2x

- Add option Run Chunk and Move to Next Chunk
- Highlight code chunks differently for base `.R` file.
Highlighting the background just highlights the
whole entire screen.
Instead match `.py` and use border for current cell
Copy link
Member

@renkun-ken renkun-ken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@renkun-ken renkun-ken merged commit 54f924c into REditorSupport:master Nov 27, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants